
cc.Class({
    extends: cc.Component,

    properties: {
        lightNode:{
            default:null,
            type:cc.Node
        },

        labelMix:{
            default:null,
            type:cc.Label
        },

        labelPick:{
            default:null,
            type:cc.Label
        }
    },

    // LIFE-CYCLE CALLBACKS:

    onLoad () {

    },

    start () {
        let pokerNode = cc.gg.tpgMgr.pokerStackGamePos.children[0]
        let worPos = pokerNode.parent.convertToWorldSpaceAR(pokerNode.position)
        let localPos = this.lightNode.parent.convertToNodeSpaceAR(worPos)
        this.lightNode.position = localPos

        // this.labelMix.string = cc.gg.i18n.getSentence(cc.gg.i18n.sentence.G_MIX_EXPLAIN)
        // this.labelPick.string = cc.gg.i18n.getSentence(cc.gg.i18n.sentence.G_PICK_NOTICE)
    },
});
